package com.candy.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.List;

/**
 * 树结构实体
 * @author pxs
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TreeEntity extends BaseEntity
{
	@ApiModelProperty(value = "上级ID")
	private Long pid;

	@ApiModelProperty(value = "名称")
	private String name;

	@ApiModelProperty(value = "序号")
	private Long orderNum;
}
